package com.conference.service;

import com.conference.entity.ConferenceVenue;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface ConferenceVenueService {
    ConferenceVenue createVenue(ConferenceVenue venue);
    ConferenceVenue updateVenue(ConferenceVenue venue);
    void deleteVenue(Long id);
    ConferenceVenue getVenueById(Long id);
    List<ConferenceVenue> getVenuesByConferenceId(Long conferenceId);
    Page<ConferenceVenue> searchVenues(Long conferenceId, String venueName, Pageable pageable);
    
    // 统计方法
    long getTotalVenues();
} 